'use strict';
const requirEx = require('yi-require');
const $ = requirEx('yi-schema');
module.exports={
    body: $.object({
        mallId:$.mongoid().required().description('商场ID'),
        storeId:$.mongoid().description('店铺ID'),
        goodsId: $.mongoid().required().description('商品ID'),
        buyCount:$.number().integer().positive().required().min(1).max(100).description('购买数量')
    })
};
